package com.xilihui.xlh.business.entities;

import com.xilihui.xlh.core.app.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2018/9/4.
 */

public class StoreDetailsEntity extends BaseEntity{


    /**
     * goods_info : {"goods_id":"50","goods_name":"华为 HUAWEI 畅享5S 全网通 2GB RAM+16GB ROM（金色）","shop_price":"1199.00","is_free_shipping":"0","give_integral":"0","sales_sum":"-11","original_img":"/public/upload/goods/2016/01-13/5696034e703e1.jpg","getcomment":[{"user_id":"1","zan_num":"0","content":"晒单给大家看看.我刚买的.","goods_id":"50","add_time":"1457746626","user":{"user_id":"1","nickname":"hello","head_pic":""}},{"user_id":"1","zan_num":"0","content":"不错,买回来老公很喜欢","goods_id":"50","add_time":"1457746449","user":{"user_id":"1","nickname":"hello","head_pic":""}}],"goods_images":[{"img_id":"126","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/569603691addc.jpg"},{"img_id":"127","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960369057f8.jpg"},{"img_id":"128","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368e45f5.jpg"},{"img_id":"129","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368c2524.jpg"},{"img_id":"543","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}],"goods_content_images":[{"img_id":"126","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/569603691addc.jpg"},{"img_id":"127","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960369057f8.jpg"},{"img_id":"128","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368e45f5.jpg"},{"img_id":"129","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368c2524.jpg"},{"img_id":"543","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}],"comment_num":"3"}
     * goods_spec : {"default_info":{"shop_price":"1169.00","store_count":"106","original_img":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"},"filter_spec":[{"name":"网络","spec":[{"item_id":"11","item":"4G","src":"","select":"1"}]},{"name":"内存","spec":[{"item_id":"13","item":"16G","src":"","select":"1"}]},{"name":"屏幕","spec":[{"item_id":"21","item":"触屏","src":"","select":"1"}]},{"name":"颜色","spec":[{"item_id":"55","item":"黑色","src":"/public/upload/goods/2016/01-13/56960719d2510.jpg","select":"1"},{"item_id":"56","item":"白色","src":"/public/upload/goods/2016/01-13/5696072174fbf.jpg","select":"0"},{"item_id":"57","item":"金色","src":"/public/upload/goods/2016/01-13/569607272b113.jpg","select":"0"}]}],"item_id":"92"}
     * item_id : 92
     */

    private GoodsInfoBean goods_info;
    private GoodsSpecBean goods_spec;
    private String item_id;
    private String collect;

    public GoodsInfoBean getGoods_info() {
        return goods_info;
    }

    public void setGoods_info(GoodsInfoBean goods_info) {
        this.goods_info = goods_info;
    }

    public GoodsSpecBean getGoods_spec() {
        return goods_spec;
    }

    public void setGoods_spec(GoodsSpecBean goods_spec) {
        this.goods_spec = goods_spec;
    }

    public String getItem_id() {
        return item_id;
    }

    public void setItem_id(String item_id) {
        this.item_id = item_id;
    }

    public String getCollect() {
        return collect;
    }

    public void setCollect(String collect) {
        this.collect = collect;
    }

    public static class GoodsInfoBean {
        /**
         * goods_id : 50
         * goods_name : 华为 HUAWEI 畅享5S 全网通 2GB RAM+16GB ROM（金色）
         * shop_price : 1199.00
         * is_free_shipping : 0
         * give_integral : 0
         * sales_sum : -11
         * original_img : /public/upload/goods/2016/01-13/5696034e703e1.jpg
         * getcomment : [{"user_id":"1","zan_num":"0","content":"晒单给大家看看.我刚买的.","goods_id":"50","add_time":"1457746626","user":{"user_id":"1","nickname":"hello","head_pic":""}},{"user_id":"1","zan_num":"0","content":"不错,买回来老公很喜欢","goods_id":"50","add_time":"1457746449","user":{"user_id":"1","nickname":"hello","head_pic":""}}]
         * goods_images : [{"img_id":"126","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/569603691addc.jpg"},{"img_id":"127","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960369057f8.jpg"},{"img_id":"128","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368e45f5.jpg"},{"img_id":"129","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368c2524.jpg"},{"img_id":"543","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}]
         * goods_content_images : [{"img_id":"126","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/569603691addc.jpg"},{"img_id":"127","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960369057f8.jpg"},{"img_id":"128","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368e45f5.jpg"},{"img_id":"129","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/56960368c2524.jpg"},{"img_id":"543","goods_id":"50","image_url":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}]
         * comment_num : 3
         */

        private String goods_id;
        private String goods_name;
        private String shop_price;
        private String is_free_shipping;
        private String give_integral;
        private String sales_sum;
        private String original_img;
        private String comment_num;
        private List<GetcommentBean> getcomment;
        private List<GoodsImagesBean> goods_images;
        private List<GoodsContentImagesBean> goods_content_images;

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getShop_price() {
            return shop_price;
        }

        public void setShop_price(String shop_price) {
            this.shop_price = shop_price;
        }

        public String getIs_free_shipping() {
            return is_free_shipping;
        }

        public void setIs_free_shipping(String is_free_shipping) {
            this.is_free_shipping = is_free_shipping;
        }

        public String getGive_integral() {
            return give_integral;
        }

        public void setGive_integral(String give_integral) {
            this.give_integral = give_integral;
        }

        public String getSales_sum() {
            return sales_sum;
        }

        public void setSales_sum(String sales_sum) {
            this.sales_sum = sales_sum;
        }

        public String getOriginal_img() {
            return original_img;
        }

        public void setOriginal_img(String original_img) {
            this.original_img = original_img;
        }

        public String getComment_num() {
            return comment_num;
        }

        public void setComment_num(String comment_num) {
            this.comment_num = comment_num;
        }

        public List<GetcommentBean> getGetcomment() {
            return getcomment;
        }

        public void setGetcomment(List<GetcommentBean> getcomment) {
            this.getcomment = getcomment;
        }

        public List<GoodsImagesBean> getGoods_images() {
            return goods_images;
        }

        public void setGoods_images(List<GoodsImagesBean> goods_images) {
            this.goods_images = goods_images;
        }

        public List<GoodsContentImagesBean> getGoods_content_images() {
            return goods_content_images;
        }

        public void setGoods_content_images(List<GoodsContentImagesBean> goods_content_images) {
            this.goods_content_images = goods_content_images;
        }

        public static class GetcommentBean {
            /**
             * user_id : 1
             * zan_num : 0
             * content : 晒单给大家看看.我刚买的.
             * goods_id : 50
             * add_time : 1457746626
             * user : {"user_id":"1","nickname":"hello","head_pic":""}
             */

            private String user_id;
            private String zan_num;
            private String content;
            private String goods_id;
            private String add_time;
            private UserBean user;

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getZan_num() {
                return zan_num;
            }

            public void setZan_num(String zan_num) {
                this.zan_num = zan_num;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public static class UserBean {
                /**
                 * user_id : 1
                 * nickname : hello
                 * head_pic : 
                 */

                private String user_id;
                private String nickname;
                private String head_pic;

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getHead_pic() {
                    return head_pic;
                }

                public void setHead_pic(String head_pic) {
                    this.head_pic = head_pic;
                }
            }
        }

        public static class GoodsImagesBean {
            /**
             * img_id : 126
             * goods_id : 50
             * image_url : /public/upload/goods/2016/01-13/569603691addc.jpg
             */

            private String img_id;
            private String goods_id;
            private String image_url;

            public String getImg_id() {
                return img_id;
            }

            public void setImg_id(String img_id) {
                this.img_id = img_id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getImage_url() {
                return image_url;
            }

            public void setImage_url(String image_url) {
                this.image_url = image_url;
            }
        }

        public static class GoodsContentImagesBean {
            /**
             * img_id : 126
             * goods_id : 50
             * image_url : /public/upload/goods/2016/01-13/569603691addc.jpg
             */

            private String img_id;
            private String goods_id;
            private String image_url;

            public String getImg_id() {
                return img_id;
            }

            public void setImg_id(String img_id) {
                this.img_id = img_id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getImage_url() {
                return image_url;
            }

            public void setImage_url(String image_url) {
                this.image_url = image_url;
            }
        }
    }

    public static class GoodsSpecBean {
        /**
         * default_info : {"shop_price":"1169.00","store_count":"106","original_img":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}
         * filter_spec : [{"name":"网络","spec":[{"item_id":"11","item":"4G","src":"","select":"1"}]},{"name":"内存","spec":[{"item_id":"13","item":"16G","src":"","select":"1"}]},{"name":"屏幕","spec":[{"item_id":"21","item":"触屏","src":"","select":"1"}]},{"name":"颜色","spec":[{"item_id":"55","item":"黑色","src":"/public/upload/goods/2016/01-13/56960719d2510.jpg","select":"1"},{"item_id":"56","item":"白色","src":"/public/upload/goods/2016/01-13/5696072174fbf.jpg","select":"0"},{"item_id":"57","item":"金色","src":"/public/upload/goods/2016/01-13/569607272b113.jpg","select":"0"}]}]
         * item_id : 92
         */

        private DefaultInfoBean default_info;
        private String item_id;
        private List<FilterSpecBean> filter_spec;

        public DefaultInfoBean getDefault_info() {
            return default_info;
        }

        public void setDefault_info(DefaultInfoBean default_info) {
            this.default_info = default_info;
        }

        public String getItem_id() {
            return item_id;
        }

        public void setItem_id(String item_id) {
            this.item_id = item_id;
        }

        public List<FilterSpecBean> getFilter_spec() {
            return filter_spec;
        }

        public void setFilter_spec(List<FilterSpecBean> filter_spec) {
            this.filter_spec = filter_spec;
        }

        public static class DefaultInfoBean {
            /**
             * shop_price : 1169.00
             * store_count : 106
             * original_img : /public/upload/goods/2016/01-13/5696034e703e1.jpg
             */

            private String goods_id;
            private String goods_name;
            private String shop_price;
            private String store_count;
            private String original_img;
            
            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getShop_price() {
                return shop_price;
            }

            public void setShop_price(String shop_price) {
                this.shop_price = shop_price;
            }

            public String getStore_count() {
                return store_count;
            }

            public void setStore_count(String store_count) {
                this.store_count = store_count;
            }

            public String getOriginal_img() {
                return original_img;
            }

            public void setOriginal_img(String original_img) {
                this.original_img = original_img;
            }
        }

        public static class FilterSpecBean {
            /**
             * name : 网络
             * spec : [{"item_id":"11","item":"4G","src":"","select":"1"}]
             */

            private String name;
            private List<SpecBean> spec;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<SpecBean> getSpec() {
                return spec;
            }

            public void setSpec(List<SpecBean> spec) {
                this.spec = spec;
            }

            public static class SpecBean {
                /**
                 * item_id : 11
                 * item : 4G
                 * src : 
                 * select : 1
                 */

                private String item_id;
                private String item;
                private String src;
                private String select;

                public String getItem_id() {
                    return item_id;
                }

                public void setItem_id(String item_id) {
                    this.item_id = item_id;
                }

                public String getItem() {
                    return item;
                }

                public void setItem(String item) {
                    this.item = item;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }

                public String getSelect() {
                    return select;
                }

                public void setSelect(String select) {
                    this.select = select;
                }
            }
        }
    }
}
